export const splitArray=(array:any)=> {
  const length = array.length;
  // 计算每个子数组的长度
  const segmentLength = Math.ceil(length / 3);

  // 使用 slice() 方法进行切割
  const firstSegment = array.slice(0, segmentLength);
  const secondSegment = array.slice(segmentLength, segmentLength * 2);
  const thirdSegment = array.slice(segmentLength * 2, segmentLength * 3);

  return [firstSegment, secondSegment, thirdSegment];
};